﻿using System;
using System.Collections.Generic;
using System.Web;
using PayRoller.Code;
using System.Web.SessionState;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using HySoft.Cash.Business;
using HySoft.Cash.Structure;
using System.Configuration;
using System.Web.Profile;
using Huayou.UI.WebControls;
using System.Data;
using Huayou.Common;
using System.Data.SqlClient;
using HySoft.Cash.BaseClass;
using PayRoller.Include;

namespace PayRoller.Manage.OrgInfo
{
    public class ReceivingList : ParentPage, IRequiresSessionState
    {
        // Fields
        protected HtmlForm form1;
        protected HtmlHead Head1;
        protected UInvoiceReceiving UInvoiceReceiving1;

        // Methods
        
        protected override void OnInit(EventArgs e)
        {
            base.m_ModuleCode = "0007";
            base.CheckLogin(true);
            base.CheckPerm();
            base.OnInit(e);

            string orgID = this.Page.Request.QueryString["OrgSid"];
            this.UInvoiceReceiving1.HrefReturnUrl =string.Format( "~/manage/OrgInfo/Index.aspx?OrgSid={0}",orgID);
        }

        protected void Page_Load(object sender, EventArgs e)
        {
            
        }

        // Properties
        protected HttpApplication ApplicationInstance
        {
            get
            {
                return this.Context.ApplicationInstance;
            }
        }

        protected DefaultProfile Profile
        {
            get
            {
                return (DefaultProfile)this.Context.Profile;
            }
        }
    }

}
